.@{d-prefix}-demo-item--tree {
  .tdesign-tree-line .operations .t-button {
    margin: 0 10px 10px 0;
  }

  .tdesign-tree-line .custom-line {
    display: flex;
    position: absolute;
    top: 2px;
    left: 9px;
  }

  .tdesign-tree-line .custom-line-box {
    display: flex;
    flex: 0 0 auto;
  }

  .tdesign-tree-line .custom-line span {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 40px;
  }

  .tdesign-tree-line .custom-line span:last-child::before {
    content: "";
    position: absolute;
    display: block;
    bottom: 26px;
    left: 6px;
    width: 12px;
    height: 26px;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #0052d9;
  }

  .tdesign-tree-line .custom-line-leaf span:last-child::before {
    width: 16px;
  }

  .tdesign-tree-line .custom-line-cross::before {
    content: "";
    display: block;
    position: absolute;
    left: 6px;
    top: -15px;
    height: 44px;
    width: 1px;
    border-left: 1px solid #ddd;
  }

  .tdesign-tree-line .custom-line-icon {
    position: absolute;
    top: 6px;
    right: -14px;
    display: flex;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    border-radius: @border-radius-circle;
    border: 1px solid #0052d9;
    background-color: #fff;
    justify-content: center;
    align-items: center;
  }

  .tdesign-tree-line .custom-line span:last-child::after {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    top: 9px;
    left: 3px;
    z-index: 1;
    width: 8px;
    height: 8px;
    border-radius: @border-radius-small;
    border: 1px solid #0052d9;
    background-color: #fff;
    transform: rotate(45deg);
    transform-origin: 50%, 50%;
  }
}
